<div class="asidetop pad_l_10">
	<ul class="tab_navs">
    	<li class="selected"><a href="javascript:void(0)">二维码管理</a></li>
    </ul>
</div>
<div class="sub_title_bar white">
<div class="pagination_wrp js_pageNavigator">
    <div class="pagination">
    	<div style="float:left;">
    	<form action="/Qrcode/add" method="post" id="post_qrcode">
			参数：<input type="text" name="scene_id" />
			备注：<input type="text" name="remark" />
			<input type="submit" id="submits" value="添加" />
		</form>
		</div>
        <span class="page_nav_area"><a class="btn page_prev getRight" href="/Qrcode/index/page/{$prev}"><i class="arrow"></i></a><span class="page_num">
                <label>
                    {$page}
                </label>
                <span class="num_gap">/</span>
                <label>
                    {$count}
                </label>
            </span><a class="btn page_next getRight" href="/Qrcode/index/page/{$next}"><i class="arrow"></i></a></span>
        <span class="goto_area"><input type="text"><a class="btn page_go" href="javascript:void(0);" onclick="getRight('/Qrcode/index/page/'+$('#goid').val());">跳转</a></span>
    </div>
</div>
</div>
<volist name="data" id="vo" >
	<div style="overflow:hidden;float:left; width:340px;margin:20px 0 0 50px;  border:1px solid #ccc;">
		<div style="width:160px; float:left; display:block; padding:10px; line-height:40px;">
			<p>参数：{$vo.scene_id}</p>
			<p>备注：<input type="text" class="press_text w_80 ajax_put" name="remark" table="qr_code" t_id="{$vo.id}" value="{$vo.remark}" /></p>
		</div>
		<div style="float:left; margin-left:20px;"><img width="100" src=" https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket={$vo.ticket}"></div>
	</div>
</volist>
<script>
	$('#post_qrcode').ajaxForm({
			beforeSubmit:function(){
				$('#submits').attr('disabled','true');
				return true;
			},
			success:function(){
				successBox('success','上传成功！',1000);
				getRight('/Qrcode');
			},
			dataType: 'json'
		});
</script>
